Scroll to navigation

thai/thwstr.h(3) libthai thai/thwstr.h(3)

NAME

thai/thwstr.h -

Thai wide-char string manipulators.

SYNOPSIS

Functions


size_t th_wnormalize (thwchar_t dest[], const thwchar_t *src, size_t n)
Normalize character order and remove excessive characters.

Detailed Description

Thai wide-char string manipulators.

Function Documentation

size_t th_wnormalize (thwchar_t dest[], const thwchar_t * src, size_t n)

Normalize character order and remove excessive characters. Parameters:

dest : the destination wide-char string buffer
src : the wide-char string to normalize
n : the size of dest buffer (as number of elements)

Returns:

total number of elements written to dest, excluding the terminating '\0'.

Corrects combining character order and remove excessive characters. At most n characters are put in dest.

Author

Generated automatically by Doxygen for libthai from the source code.

23 Nov 2010 Version 0.1.12